package cn.sunlelin.educationserver.entity;

import com.fasterxml.jackson.annotation.JsonFormat;

import java.util.Date;

public class Lessonsituation {
    private Integer lessonsituationId;
    private Integer userId;
    private Integer lessonId;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:SS", timezone = "Asia/Shanghai")
    private Date createTime;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:SS", timezone = "Asia/Shanghai")
    private Date updateTime;
    private String delFlag;

    public Lessonsituation() {
    }

    public Lessonsituation(Integer lessonsituationId, Integer userId, Integer lessonId, Date createTime, Date updateTime, String delFlag) {
        this.lessonsituationId = lessonsituationId;
        this.userId = userId;
        this.lessonId = lessonId;
        this.createTime = createTime;
        this.updateTime = updateTime;
        this.delFlag = delFlag;
    }

    public Integer getLessonsituationId() {
        return lessonsituationId;
    }

    public void setLessonsituationId(Integer lessonsituationId) {
        this.lessonsituationId = lessonsituationId;
    }

    public Integer getUserId() {
        return userId;
    }

    public void setUserId(Integer userId) {
        this.userId = userId;
    }

    public Integer getLessonId() {
        return lessonId;
    }

    public void setLessonId(Integer lessonId) {
        this.lessonId = lessonId;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Date getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }

    public String getDelFlag() {
        return delFlag;
    }

    public void setDelFlag(String delFlag) {
        this.delFlag = delFlag;
    }

    @Override
    public String toString() {
        return "Lessonsituation{" +
                "lessonsituationId=" + lessonsituationId +
                ", userId=" + userId +
                ", lessonId=" + lessonId +
                ", createTime=" + createTime +
                ", updateTime=" + updateTime +
                ", delFlag='" + delFlag + '\'' +
                '}';
    }
}
